<?php

class Damages_Methods_Data_Processes_ProcessType_Edit extends Damages_Methods_Data_Processes_ProcessType {

  /**
   *
   * @var Damages_Methods_Data_Processes_Action_Edit[] 
   */
  public $actions = array();

  public function __construct($obj) {
    $this->id = $obj->id;
    foreach ($obj->actions->toArray() as $processTypeAction) {
      $this->actions[] = new Damages_Methods_Data_Processes_Action_Edit($processTypeAction);
    }
  }

}